package com.ufaud.ais.pub.view;

import java.util.Collection;
import java.util.Map;

/**
 * 功能：JQuery TreeView插件的json固定格式
 * @author 林可
 * @version 1.0 2010-7-11
 */
public class JQueryTreeViewNode {

	private String text;
	private boolean expanded;
	private Collection<JQueryTreeViewNode> children;
	private String id;
	private boolean hasChildren;
	private Map<String, String> urls;
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public Collection<JQueryTreeViewNode> getChildren() {
		return children;
	}
	public void setChildren(Collection<JQueryTreeViewNode> children) {
		this.children = children;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isHasChildren() {
		return hasChildren;
	}
	public void setHasChildren(boolean hasChildren) {
		this.hasChildren = hasChildren;
	}
	public Map<String, String> getUrls() {
		return urls;
	}
	public void setUrls(Map<String, String> urls) {
		this.urls = urls;
	}
}
